//
//  LocationService.h
//  MexicoLoan
//
//  Created by WXP on 2025/2/27.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@interface LocationService : NSObject<CLLocationManagerDelegate>

+ (instancetype)sharedInstance;
@property (nonatomic, readonly) CLLocationCoordinate2D currentLocation;


- (void)startUpdatingLocation;

- (void)startUploca:(dispatch_block_t)doup;
- (CLLocationCoordinate2D)getCurrentLocation;

@end
